package exception;

public class ExceptionApilDemo {
    public static void main(String[] args) {
        try {
        String line = "abc";
            System.out.println(Integer.parseInt(line));
        } catch (Exception e) {
            e.printStackTrace( );
            String mce = e.getMessage();
            System.out.println(mce);
        }
    }

}
